<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>添加或编辑页</title>
    <link rel="stylesheet" href="./css/addOrEdit.css">
</head>
<body>
    <form action="">
        <h2>新增或编辑页</h2>
        <div>
            <table>
                <tr hidden>
                    <td>id：</td>
                    <td><input type="text" id="id"></td>
                </tr>
                <tr>
                    <td>标题：</td>
                    <td><input type="text" id="title"></td>
                </tr>
                <tr>
                    <td>摘要：</td>
                    <td><input type="text" id="digest"></td>
                </tr>
                <tr>
                    <td>内容：</td>
                    <td><input type="text" id="content"></td>
                </tr>
                <tr>
                    <td>分类：</td>
                    <td><input type="text" id="type"></td>
                </tr>
                <tr>
                    <td>作者：</td>
                    <td><input type="text" id="author"></td>
                </tr>
                <tr>
                    <td>发表时间：</td>
                    <td><input type="text" id="time"></td>
                </tr>
            </table>
            <div id="bottom">
                <tr>
                    <td>
                        <input type="button" value="保存" onclick="save()" class="save">
                    </td>
                    <td>
                        <input type="button" value="取消" onclick="cancel()" class="cancel">
                    </td>
                </tr>
            </div>
        </div>
    </form>
    <script src="./js/jquery-3.6.0.min.js"></script>
    <script src="./js/init.js"></script>
    <script src="./js/product_api.js"></script>
    <script src="./js/button.js"></script>
</body>
</html>